package security.service;


import framework.security.AuthException;
import framework.security.LoginEntity;
import security.vo.LoginInfo;

public interface LoginService {

    /**
     * 登录
     *
     * @param loginEntity
     */
    LoginInfo login(LoginEntity loginEntity) throws AuthException;

    /**
     * 登出
     *
     * @return 是否成功退出
     */
    void logout() throws AuthException;

}
